/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-05-25 17:31:22
 * @LastEditTime: 2024-06-06 21:09:39
 * @FilePath: /nest_study/src/modules/system/post/post.module.ts
 */
import { Module } from '@nestjs/common';
import { PostService } from './post.service';
import { PostController } from './post.controller';
import { SystemUserEntity } from '../user/entities/user.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import { SystemPostEntity } from './entities/post.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      SystemPostEntity,
      SystemUserEntity
    ]),
  ],
  controllers: [PostController],
  providers: [PostService],
})
export class PostModule {}
